<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title><%= @page_title ? @page_title + " 苹果网-药品使用经验分享和点评" : " 苹果网-药品使用经验分享和点评"%></title>
<%= stylesheet_link_tag "reset", "typography", "form", "general", "layout", "style", "font", "ie", :cache => "all" %>
<%= javascript_include_tag "application"  %>
</head>
<body id="<%= @body_id %>">
<div class="container">
<!-- header -->
<div id="header" class="clear">
	<h1><a href="/"><span></span>pinguo.us</a></h1>
    <div id="toolForm">
   		<% form_tag leechdoms_path, :method => 'get' do %>
            <div>
            <input name="keyword" type="text" class="text" onfocus="check(this,'focus');" onblur="check(this,'blur')" />
            <button onclick="this.form.submit();">搜索</button>
            </div>
        <% end %>
    </div>
    <ul id="primenav">
    	<li><a href="/">首页</a></li>
    	<li><a href="/users"><strong>我的苹果</strong></a></li>
        <li><a href="/leechdoms">药品大全</a></li>
        <li><a href="/cn_leechdoms">国产药品</a></li>
    	<li><a href="/inter_leechdoms">进口药品</a></li>
    	<!--<li><a href="/search">高级搜索</a></li>-->
    </ul>
    <div id="topTool" class="clear">
    	<div id="topTag">苹果网推荐药品： <a href="/cn_leechdoms/11">龙胆泻肝丸</a> <a href="/cn_leechdoms/53976">白加黑</a> <a href="/cn_leechdoms/155">板蓝根颗粒</a> <a href="/cn_leechdoms/15">六味地黄丸</a></div>
        <% if logged_in? -%>
        <div id="toolBar"><a href="/users/edit">修改密码</a> <a href="/users/upface">修改头像</a> 或 <a href="/logout">退出</a></div>
        <% else -%>
        <div id="toolBar"><a href="/reg">注册</a> 或 <a href="/login">登录</a></div>
        <% end -%>
    </div>
</div>
<%= yield  :layout %>
<!-- footer -->
<div id="footer">
	<ul><li><a href="#">关于苹果</a></li><li><a href="#">联系我们</a></li><li><a href="#">法律声明</a></li></ul>
    <p>&copy; 2008 pinguo.us, all rights reserved </p>
</div>
</div>
</body>
</html>